home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Changing Color Lookup Table in ODF
- Sent: 5/24/96 2:13 PM
- Received: 5/24/96 2:21 PM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >Dear ODF Team:
- >
- >I am drawing a color shape that have two slightly different colors. It
- >shows OK when my monitor is set to thousands of colors, but the 2 colors
- >appear identical when my monitor is set to 256 colors. What is the proper
- >way in ODF to make sure the 2 colors will draw in 256 colors mode?
- >
- >Serge
-
- You need to use the Palette manager. ODF has a FW_CPalette object you can
- use but we don't have API to deal with the Macintosh Palette Manager. Has
- far as who owns the palette the answer is the root part. If your are the
- root part you can set the window palette the way you want. If you are
- embedded you should not change it.
-
- .......................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- .......................................................................
-
-